<template>
  <div style="margin-bottom: 80px;">
    <div class="page-title">基础功能</div>
    <div class="contain-box">
      <div class="card-item mr80" v-for="item in dataList1" :key="item.id">
        <div class="img-rt">
          <img :src="item.status?trueImg:notrueImg" >
        </div>
        <div style="display: flex;" class="mbt15">
          <div class="card-img mr15">
            <img :src="cardImg" >
          </div>
          <div class="card-name mr15">插件名称</div>
          <div class="card-use">默认安装</div>
        </div>
        <div class="describe">
          插件功能介绍插件功能介绍插件功能介绍插件功能介绍插件功能介绍插件功能介绍插件功能介绍
        </div>
      </div>
    </div>
    <fbr></fbr>
    <div class="page-title">可观测性</div>
    <div class="contain-box">
      <div class="card-item mr80" v-for="item in dataList2" :key="item.id">
        <div class="img-rt">
          <img :src="item.status?trueImg:notrueImg" >
        </div>
        <div style="display: flex;" class="mbt15">
          <div class="card-img mr15">
            <img :src="cardImg" >
          </div>
          <div class="card-name mr15">插件名称</div>
          <div class="card-use">默认安装</div>
        </div>
        <div class="describe">
          插件功能介绍插件功能介绍插件功能介绍插件功能介绍插件功能介绍插件功能介绍插件功能介绍
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    data(){
      return {
        notrueImg:require('@/assets/img/isNotTrue.svg'),
        trueImg:require('@/assets/img/isTrue.svg'),
        cardImg:require('@/assets/img/cardImg.svg'),
        dataList1:[
          {
            id:1,
            status:false
          },
          {
            id:2,
            status:false
          },
          {
            id:3,
            status:true
          }
        ],
        dataList2:[
          {
            id:11,
            status:false
          },
          {
            id:22,
            status:true
          }
        ],
      }
    }
  }
</script>

<style scoped lang="less">
  .page-title {
    font-weight: 650;
    font-size: 16px;
    color: #000000d8;
  }
  .contain-box{
    display: flex;
    align-items: center;
    margin: 30px;
  }

  .card-item {
    height: 166px;
    width: 400px;
    box-sizing: border-box;
    border: 1px #dcdfe6 solid;
    border-radius: 2px;
    position: relative;
    padding: 20px;

    .img-rt {
      width: 27px;
      height: 21px;
      position: absolute;
      top: 0;
      right: 0;
    }

    .card-img {
      width: 72px;
      height: 72px;
    }

    .card-name {
      font-weight: 400;
      font-size: 14px;
      color: #596065;
    }

    .card-use {
      font-size: 12px;
      color: #2EB1FC;
      cursor: pointer;
    }

    .describe {
      font-size: 12px;
      color: #999999;
      letter-spacing: 1px;
      line-height: 22px;
    }


  }
</style>
